const mongoose = require('mongoose')

// 定义schema

const userSchema = new mongoose.Schema({
    userName:{
        type:String,
        isRequired:true
    },
    pwd:{
        type:String,
        isRequired:true
    }
})
// 创建model
const userModel = mongoose.model('qf_users',userSchema)

module.exports = userModel